import layout from '@/layout'
export default {
  path: '/departments',
  component: layout,
  children: [
    // 组织架构
    // 如果子路由,path设置为'',name会自动匹配
    {
      path: '',
      name: 'departments',
      // 配置懒加载
      component: () => import('@/views/departments/departments.vue'),
      meta: { title: '组织架构', icon: 'tree' }
    }
  ]
}
